package org.ww.product.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.ww.common.utils.R;

import java.util.List;

/**
 * @program: gmall
 * @description: 仓库feign接口
 * @author: ww
 * @create: 2024-02-19 13:21
 **/
@FeignClient("gmall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/hasstock")
    R hasstock(@RequestBody List<Long> skuIds);

}
